package com.mashang.bookkeepingbook.mapper;


import com.mashang.bookkeepingbook.pojo.entity.Categories;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {
    @Select("select * from category where type ='0'")
    public List<Categories> selectECategory();
    @Select("select * from category where type ='1'")
    public List<Categories> selectICategory();
    @Select("select * from category where type='2'")
    public List<Categories> selectNCategory();
}
